<template>
  <div class="sign-layout">
    <!-- PDF预览区和左侧工具栏的布局 -->
    <div class="layout-left">
      <!-- 工具栏插槽 -->
      <slot name="toolbar"></slot>
    </div>
    <div class="layout-main">
      <!-- PDF预览区插槽 -->
      <slot name="viewer"></slot>
    </div>
  </div>
</template>

<script setup>
/**
 * @description 签署位布局组件，负责基础UI展示
 */
</script>

<style scoped>
.sign-layout {
  display: flex;
  height: 100vh;
}
.layout-left {
  width: 200px;
  border-right: 1px solid #ccc;
}
.layout-main {
  flex: 1;
  overflow: auto;
}
</style>